<?php

echo "<div class=\"menu".$tpl_vars['menu_level']."Box\">\n";

if ($tpl_vars['menu_el']['active']) {
	echo "<div class=\"activeMenuItem\">".$tpl_vars['menu_el']['name']."</div>\n";
} else if (!$tpl_vars['menu_el']['url']) {
	echo "<div class=\"blankMenuItem\">".$tpl_vars['menu_el']['name']."</div>\n";
} else {
	echo "<div class=\"menuItem\" onMouseOver=\"this.className='menuItemOn'\" onMouseOut=\"this.className='menuItem'\">"."<a href=\"".$tpl_vars['menu_el']['url']."\">".$tpl_vars['menu_el']['name']."</a></div>\n";
}
	
echo "</div>\n";

?>